import 'dart:io';

import 'package:dartkit/dartkit.dart';
import 'package:test/test.dart';

void main() {
  final File testFile = File(".identity_file_writer.json");
  final IdentityWriter<PseudoPeople> writer = FileWriterIdentity(
    file: testFile,
    unzip: (raw) => PseudoPeople.fromRaw(raw),
  );

  tearDown(() => testFile.deleteIf());

  testRawableWriter(writer);
  testIdentityWriter(writer);
}
